package aod.android.com.bernay.mine.activity;

import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;

import aod.android.com.bernay.R;
import aod.android.com.bernay.base.BernayBaseActivity;
import aod.android.com.bernay.fixing.activity.FixingAddActivity;
import aod.android.com.bernay.fixing.activity.FixingAddNameActivity;
import chen.lion.hilib.view.bind.HiView;

/**
 * @author crated by zhixianuanyang on 2019/4/3 12:21
 * @Email jamesKing0812@gmail.com
 */
public class FeedBackActivity extends BernayBaseActivity {

    @HiView(R.id.et_feedback)
    EditText mFeedback;

    @Override
    protected int initLayout() {
        return R.layout.activity_feedback;
    }

    @Override
    protected void initData() {
        initTitle(getString(R.string.feedback), getString(R.string.feedback_submit), new View.OnClickListener() {
            @Override
            public void onClick(View v) {
              String mContent = mFeedback.getText().toString();
              if (!"".equals(mContent)){
                  showToast(mContent);
              }else{
                  showToast("请输入反馈内容");
              }
            }
        });
    }
}
